﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace mozhi.smarterp.BasicData.Employees
{
    public class EmployeeCreateDto
    {
        public bool Activated { set; get; }

        [Required]
        public string Code { set; get; }

        [Required]
        public string Name { set; get; }

        [Required]
        public string Phone { get; set; }

        [Required]
        public string Email {  get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        [Required]
        public Guid? DepartmentId { get; set; }
    }
}
